pass parameter to view laravel

52

pass parameter to view laravel -

Route::get('/', function () {
    return view('greeting', ['name' => 'James']);
});

Comments

Submit
0 Comments